<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title><!--{replace by="pagetitle"/}--></title>
	<style type="text/css">
		.taskList {
			float: left;
			border: 2px solid #a5a5a5;
		}
		.taskListHeader {
			  float: left;
			  background-color: #f1f1f1;
			  border-bottom: 1px solid #b5b5b5;
		}
		.taskListHeaderItemLeft {
			  float: left;
			  border-right: 1px solid #b5b5b5;
			  padding: 2px 0px 2px 0px;
		}
		.taskListHeaderItem {
			  float: left;
			  border-right: 1px solid #b5b5b5;
			  padding: 2px 0px 2px 0px;
		}
		.taskListHeaderItemRight {
			  float: left;
			  padding: 2px 0px 2px 0px;
		}
		.taskListItem {
			width: 800px;
			float: left;
			border-bottom: 1px solid #b5b5b5;
		}
		.taskItemLeft {
			  float: left;
			  border-right: 1px solid #b5b5b5;
			  height: 100%;
		}
		.taskItem {
			  float: left;
			  border-right: 1px solid #b5b5b5;
			  height: 100%;
		}
		.taskItemRight {
			  float: left;
			  height: 100%;
		}
	</style>
	<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
</head>
<body>
	<!--{import lib="SCRIPT"/}-->
	<div style="width: 800px; text-align: center;">
		<div style="height: 120px">
			Header
		</div>
		<div>
			<!--{case var="Page"}-->
				<!--{tasks}--><!--{include uri="tpl/tasks_list.html" template="yes"/}--><!--{/tasks}-->
				<!--{newTask}--><!--{include uri="tpl/task_form.html" template="yes" task_id="@task_id" task_name="@task_name"
					task_email="@task_email" task_desc="@task_desc" task_notes="@task_notes" task_done="@task_done"/}--><!--{/newTask}-->
				<!--{else}--><!--{include uri="tpl/tasks_list.html" template="yes"/}--><!--{/else}-->
			<!--{/case}-->
		</div>
		<div style="height: 25px">
		<!--{case var="Page"}-->
			<!--{tasks}-->
				<a href="?page=newTask">New Task</a>
			<!--{/tasks}-->
			<!--{newTask}--><a href="?page=tasks">Task List</a><!--{/newTask}-->
			<!--{else}--><a href="?page=tasks">Task List</a><!--{/else}-->
		<!--{/case}-->
		</div>
	</div>
</body>
</html>